<input type="hidden" name="id" value="<?php echo $image->id; ?>"/>

<div class="tool-panel">
	<ul class="tab-button">
		<li><a href="javascript:void(0);">裁切</a></li>
		<li><a href="javascript:void(0);">生成缩略图</a></li>
	</ul>

	<div class="tab-content crop">
		<span>x1 :</span> <input type="text" class="text" name="x1"/>
		<span>y1 :</span> <input type="text" class="text" name="y1"/>
		<span>x2 :</span> <input type="text" class="text" name="x2"/>
		<span>y2 :</span> <input type="text" class="text" name="y2"/>
		<br/><br/>
		<span>选择框的宽高比</span>
		<input type="text" class="text width_scale" name="width_scale" /> :
		<input type="text" class="text height_scale" name="height_scale" />

		<ul class="button">
			<li><a href="javascript:void(0);" class="crop">保存</a></li>
			<li><a href="javascript:void(0);" class="crop-as">另存为</a></li>
		</ul>
	</div>

	<div class="tab-content thumbnail">
		<label for="thumbnail_sizes">缩略图尺寸</label>
		<input type="text" class="text thumbnail_sizes" name="thumbnail_sizes" onpaste="return false;" value="<?php echo $image->sizes; ?>"/>
		<span class="form-tips">长宽数值用英文下划线（_）分割，缩略图尺寸用英文逗号（,）分割，如 100_100,120_120</span>
		<ul class="button">
			<li><a href="javascript:void(0);" class="thumbnail">确定</a></li>
		</ul>
	</div>
</div>


<div class="image-container">
	<img src="/assets/upload/img/<?php echo $image->name; ?>" alt="<?php echo $image->label; ?>"/>
</div>